<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Material
 *
 * @property int $id
 * @property int $g_id 商品id
 * @property int $img_id 显示图片id
 * @property int $thumb_img_id 显示图片id
 * @property int $classify_id 分类id
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Material onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Material whereClassifyId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Material whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Material whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Material whereGId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Material whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Material whereImgId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Material whereThumbImgId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Material whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Material withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Material withoutTrashed()
 * @mixin \Eloquent
 * @property float $price 金额
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Material wherePrice($value)
 * @property string|null $type 素材类型
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Material whereType($value)
 */
class Material extends Model
{
    protected $table = 'material';
    use SoftDeletes;
}